﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000E4F RID: 3663
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class RogueArcadeGetInfoScRsp : IMessage<RogueArcadeGetInfoScRsp>, IMessage, IEquatable<RogueArcadeGetInfoScRsp>, IDeepCloneable<RogueArcadeGetInfoScRsp>, IBufferMessage
	{
		// Token: 0x17002E97 RID: 11927
		// (get) Token: 0x0600A48A RID: 42122 RVA: 0x001BBA34 File Offset: 0x001B9C34
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<RogueArcadeGetInfoScRsp> Parser
		{
			get
			{
				return RogueArcadeGetInfoScRsp._parser;
			}
		}

		// Token: 0x17002E98 RID: 11928
		// (get) Token: 0x0600A48B RID: 42123 RVA: 0x001BBA3B File Offset: 0x001B9C3B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return RogueArcadeGetInfoScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17002E99 RID: 11929
		// (get) Token: 0x0600A48C RID: 42124 RVA: 0x001BBA4D File Offset: 0x001B9C4D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return RogueArcadeGetInfoScRsp.Descriptor;
			}
		}

		// Token: 0x0600A48D RID: 42125 RVA: 0x001BBA54 File Offset: 0x001B9C54
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueArcadeGetInfoScRsp()
		{
		}

		// Token: 0x0600A48E RID: 42126 RVA: 0x001BBA5C File Offset: 0x001B9C5C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueArcadeGetInfoScRsp(RogueArcadeGetInfoScRsp other) : this()
		{
			this.retcode_ = other.retcode_;
			this.roomId_ = other.roomId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600A48F RID: 42127 RVA: 0x001BBA8D File Offset: 0x001B9C8D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueArcadeGetInfoScRsp Clone()
		{
			return new RogueArcadeGetInfoScRsp(this);
		}

		// Token: 0x17002E9A RID: 11930
		// (get) Token: 0x0600A490 RID: 42128 RVA: 0x001BBA95 File Offset: 0x001B9C95
		// (set) Token: 0x0600A491 RID: 42129 RVA: 0x001BBA9D File Offset: 0x001B9C9D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x17002E9B RID: 11931
		// (get) Token: 0x0600A492 RID: 42130 RVA: 0x001BBAA6 File Offset: 0x001B9CA6
		// (set) Token: 0x0600A493 RID: 42131 RVA: 0x001BBAAE File Offset: 0x001B9CAE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint RoomId
		{
			get
			{
				return this.roomId_;
			}
			set
			{
				this.roomId_ = value;
			}
		}

		// Token: 0x0600A494 RID: 42132 RVA: 0x001BBAB7 File Offset: 0x001B9CB7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as RogueArcadeGetInfoScRsp);
		}

		// Token: 0x0600A495 RID: 42133 RVA: 0x001BBAC5 File Offset: 0x001B9CC5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(RogueArcadeGetInfoScRsp other)
		{
			return other != null && (other == this || (this.Retcode == other.Retcode && this.RoomId == other.RoomId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600A496 RID: 42134 RVA: 0x001BBB04 File Offset: 0x001B9D04
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this.RoomId != 0U)
			{
				num ^= this.RoomId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600A497 RID: 42135 RVA: 0x001BBB5C File Offset: 0x001B9D5C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600A498 RID: 42136 RVA: 0x001BBB64 File Offset: 0x001B9D64
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600A499 RID: 42137 RVA: 0x001BBB70 File Offset: 0x001B9D70
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.RoomId != 0U)
			{
				output.WriteRawTag(40);
				output.WriteUInt32(this.RoomId);
			}
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(80);
				output.WriteUInt32(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600A49A RID: 42138 RVA: 0x001BBBCC File Offset: 0x001B9DCC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this.RoomId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.RoomId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600A49B RID: 42139 RVA: 0x001BBC24 File Offset: 0x001B9E24
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(RogueArcadeGetInfoScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			if (other.RoomId != 0U)
			{
				this.RoomId = other.RoomId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600A49C RID: 42140 RVA: 0x001BBC74 File Offset: 0x001B9E74
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600A49D RID: 42141 RVA: 0x001BBC80 File Offset: 0x001B9E80
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 40U)
				{
					if (num != 80U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.Retcode = input.ReadUInt32();
					}
				}
				else
				{
					this.RoomId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x040042FD RID: 17149
		private static readonly MessageParser<RogueArcadeGetInfoScRsp> _parser = new MessageParser<RogueArcadeGetInfoScRsp>(() => new RogueArcadeGetInfoScRsp());

		// Token: 0x040042FE RID: 17150
		private UnknownFieldSet _unknownFields;

		// Token: 0x040042FF RID: 17151
		public const int RetcodeFieldNumber = 10;

		// Token: 0x04004300 RID: 17152
		private uint retcode_;

		// Token: 0x04004301 RID: 17153
		public const int RoomIdFieldNumber = 5;

		// Token: 0x04004302 RID: 17154
		private uint roomId_;
	}
}
